package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 语音表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "voice")
public class Voice implements java.io.Serializable {

    /**
     * 主键
     */
    private ObjectId id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 语音地址
     */
    private String soundUrl;
    /**
     * 性别
     */
    private String gender;
    /**
     * 创建时间
     */
    private Long created;
}